import request from '@/utils/request'

const getPage = params => request({ url: '/Interface/GetPage', method: 'get', data: params})
const save = params => request({ url: '/Interface/Save', method: 'post', data: params})
const remove = params => request({ url: '/Interface/Remove', method: 'post', data: params})
const getInterfaceTree = params => request({ url: '/Interface/GetInterfaceTree', method: 'get', data: params})
const getInfo = params => request({ url: '/Interface/GetInfo', method: 'get', data: params})
const interfaceTest = params => request({ url: '/Interface/InterfaceTest', method: 'post', data: params})
export {
  getPage,
  save,
  remove,
  getInterfaceTree,
  getInfo,
  interfaceTest
}